<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>{$Think.config.WEB_SITE_TITLE} Power by 成都思铭致远科技有限公司 服务热线：(028)82685343</title> 
    <meta name="Keywords" content="成都思铭致远科技有限公司 服务热线：(028)82685343"/>
    <meta name="Description" content="成都思铭致远科技有限公司 服务热线：(028)82685343"/>
    <!-- bootstrap - css -->
    <link href="__PUBLIC__/BJUI/themes/css/bootstrap.min.css" rel="stylesheet">
    <link href="__PUBLIC__/BJUI/themes/css/buttons.css" rel="stylesheet">
    <!-- core - css -->
    <link href="__PUBLIC__/BJUI/themes/css/style.css" rel="stylesheet">
    <link href="__PUBLIC__/BJUI/themes/purple/core.css" id="bjui-link-theme" rel="stylesheet">
    <!-- plug - css -->
    <link href="__PUBLIC__/BJUI/plugins/kindeditor_4.1.10/themes/default/default.css" rel="stylesheet">
    <link href="__PUBLIC__/BJUI/plugins/colorpicker/css/bootstrap-colorpicker.min.css" rel="stylesheet">
    <link href="__PUBLIC__/BJUI/plugins/niceValidator/jquery.validator.css" rel="stylesheet">
    <link href="__PUBLIC__/BJUI/plugins/bootstrapSelect/bootstrap-select.css" rel="stylesheet">
    <link href="__PUBLIC__/BJUI/themes/css/FA/css/font-awesome.min.css" rel="stylesheet">
    
    <!--[if lte IE 7]>
    <link href="__PUBLIC__/BJUI/themes/css/ie7.css" rel="stylesheet">
    <![endif]-->
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lte IE 9]>
    <script src="__PUBLIC__/BJUI/other/html5shiv.min.js"></script>
    <script src="__PUBLIC__/BJUI/other/respond.min.js"></script>
    <![endif]-->
    <!-- jquery -->
    <script src="__PUBLIC__/BJUI/js/jquery-1.7.2.min.js"></script>
    <script src="__PUBLIC__/BJUI/js/jquery.cookie.js"></script>
    <!--[if lte IE 9]>
    <script src="__PUBLIC__/BJUI/other/jquery.iframe-transport.js"></script>
    <![endif]-->
    <!-- BJUI.all 分模块压缩版 -->
    <script src="__PUBLIC__/BJUI/js/bjui-all.js"></script>
    <!-- 以下是B-JUI的分模块未压缩版，建议开发调试阶段使用下面的版本 -->
    <!--
<script src="__PUBLIC__/BJUI/js/bjui-core.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-regional.zh-CN.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-frag.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-extends.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-basedrag.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-slidebar.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-contextmenu.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-navtab.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-dialog.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-taskbar.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-ajax.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-alertmsg.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-pagination.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-util.date.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-datepicker.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-ajaxtab.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-tablefixed.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-tabledit.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-spinner.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-lookup.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-tags.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-upload.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-theme.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-initui.js"></script>
<script src="__PUBLIC__/BJUI/js/bjui-plugins.js"></script>
-->
<!-- plugins -->
<!-- swfupload for uploadify && kindeditor -->
<script src="__PUBLIC__/BJUI/plugins/swfupload/swfupload.js"></script>
<!-- kindeditor -->
<script src="__PUBLIC__/BJUI/plugins/kindeditor_4.1.10/kindeditor-all.min.js"></script>
<script src="__PUBLIC__/BJUI/plugins/kindeditor_4.1.10/lang/zh_CN.js"></script>
<!-- colorpicker -->
<script src="__PUBLIC__/BJUI/plugins/colorpicker/js/bootstrap-colorpicker.min.js"></script>
<!-- ztree -->
<script src="__PUBLIC__/BJUI/plugins/ztree/jquery.ztree.all-3.5.js"></script>
<!-- nice validate -->
<script src="__PUBLIC__/BJUI/plugins/niceValidator/jquery.validator.js"></script>
<script src="__PUBLIC__/BJUI/plugins/niceValidator/jquery.validator.themes.js"></script>
<!-- bootstrap plugins -->
<script src="__PUBLIC__/BJUI/plugins/bootstrap.min.js"></script>
<script src="__PUBLIC__/BJUI/plugins/bootstrapSelect/bootstrap-select.min.js"></script>
<!-- icheck -->
<script src="__PUBLIC__/BJUI/plugins/icheck/icheck.min.js"></script>
<!-- dragsort -->
<script src="__PUBLIC__/BJUI/plugins/dragsort/jquery.dragsort-0.5.1.min.js"></script>
<!-- HighCharts -->
<script src="__PUBLIC__/BJUI/plugins/highcharts/highcharts.js"></script>
<script src="__PUBLIC__/BJUI/plugins/highcharts/highcharts-3d.js"></script>
<script src="__PUBLIC__/BJUI/plugins/highcharts/themes/gray.js"></script>
<!-- ECharts -->
<script src="__PUBLIC__/BJUI/plugins/echarts/echarts.js"></script>
<!-- other plugins -->
<script src="__PUBLIC__/BJUI/plugins/other/jquery.autosize.js"></script>
<link href="__PUBLIC__/BJUI/plugins/uploadify/css/uploadify.css" rel="stylesheet">
<script src="__PUBLIC__/BJUI/plugins/uploadify/scripts/jquery.uploadify.min.js"></script>
<!-- init -->
<script type="text/javascript">
$(function() {
    BJUI.init({
        JSPATH       : '__PUBLIC__/BJUI/',         //[可选]框架路径
        PLUGINPATH   : '__PUBLIC__/BJUI/plugins/', //[可选]插件路径
        loginInfo    : {url:'login_timeout.html', title:'登录', width:400, height:200}, // 会话超时后弹出登录对话框
        statusCode   : {ok:200, error:300, timeout:301}, //[可选]
        ajaxTimeout  : 5000, //[可选]全局Ajax请求超时时间(毫秒)
        alertTimeout : 3000, //[可选]信息提示[info/correct]自动关闭延时(毫秒)
        pageInfo     : {pageCurrent:'pageCurrent', pageSize:'pageSize', orderField:'orderField', orderDirection:'orderDirection'}, //[可选]分页参数
        keys         : {statusCode:'statusCode', message:'message'}, //[可选]
        ui           : {showSlidebar:true, hideMode:'display', clientPaging:true}, //[可选]clientPaging:在客户端响应分页及排序参数
        debug        : true,    // [可选]调试模式 [true|false，默认false]
        theme        : 'blue' // 若有Cookie['bjui_theme'],优先选择Cookie['bjui_theme']。皮肤[五种皮肤:default, orange, purple, blue, red, green]
    })
    //时钟
    var today = new Date(), time = today.getTime()
    $('#bjui-date').html(today.formatDate('yyyy/MM/dd'))
    setInterval(function() {
        today = new Date(today.setSeconds(today.getSeconds() + 1))
        $('#bjui-clock').html(today.formatDate('HH:mm:ss'))
    }, 1000)
})

//console.log('IE:'+ (!$.support.leadingWhitespace))
//菜单-事件
function MainMenuClick(event, treeId, treeNode) {
    if (treeNode.isParent) {
        var zTree = $.fn.zTree.getZTreeObj(treeId)
        
        zTree.expandNode(treeNode)
        return
    }
    
    if (treeNode.target && treeNode.target == 'dialog')
        $(event.target).dialog({id:treeNode.tabid, url:treeNode.url, title:treeNode.name})
    else
        $(event.target).navtab({id:treeNode.tabid, url:treeNode.url, title:treeNode.name, fresh:treeNode.fresh, external:treeNode.external})
    event.preventDefault()
}
</script>

</head>
<body>
<!--[if lte IE 7]>
<div id="errorie">
    <div>
        您还在使用老掉牙的IE，正常使用系统前请升级您的浏览器到 IE8以上版本
        <a target="_blank" href="http://windows.microsoft.com/zh-cn/internet-explorer/ie-8-worldwide-languages">点击升级</a>
        &nbsp;&nbsp;强烈建议您更改换浏览器：
        <a href="http://down.tech.sina.com.cn/content/40975.html" target="_blank">谷歌 Chrome</a>
    </div>
</div>
<![endif]-->
<header class="navbar navbar-default" id="bjui-header">
    <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bjui-navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="#">
            {$Think.config.WEB_SITE_TITLE}
            <span style="font-size:14px">{$Think.config.WEB_VER}</span>
            <!--<img src="__PUBLIC__/images/logo.png">--></a>
    </div>
    <nav class="collapse navbar-collapse" id="bjui-navbar-collapse">
        <ul class="nav navbar-nav navbar-right">
            <li class="datetime">
                <div>
                    <span id="bjui-date"></span>
                    <br> <i class="fa fa-clock-o"></i>
                    <span id="bjui-clock"></span>
                </div>
            </li>
            <li>
                <a href="javascript:void(0);">
                    在线
                    <span class="badge">
                            {$Think.session.username}

                    </span>
                </a>
            </li>
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                    我的账户
                    <span class="caret"></span>
                </a>
                <ul class="dropdown-menu" role="menu">
                    <li>
                        <a href="{:U('public/changepwd')}" data-toggle="dialog" data-id="changepwd_page" data-mask="true" data-width="400" data-height="260">
                            &nbsp;
                            <span class="glyphicon glyphicon-lock"></span>
                            修改密码&nbsp;
                        </a>
                    </li>
                    <li>
                        <a href="{:U('public/changeinfo')}" data-toggle="dialog" data-id="changepwd_page" data-mask="true" data-width="600" data-height="350">
                            &nbsp;
                            <span class="glyphicon glyphicon-user"></span>
                            我的资料
                        </a>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a href="{:U('public/logout')}" class="red">
                            &nbsp;
                            <span class="glyphicon glyphicon-off"></span>
                            注销登陆
                        </a>
                    </li>
                </ul>
                <!-- edit by ld 去除主题选择,默认蓝色主题 -->
            </li>
            <li class="dropdown hidden">
                <a href="#" class="dropdown-toggle theme purple" data-toggle="dropdown"> <i class="fa fa-tree"></i>
                </a>
                <ul class="dropdown-menu" role="menu" id="bjui-themes">

                    <li>
                        <a href="javascript:;" class="theme_blue" data-toggle="theme" data-theme="blue">
                            &nbsp;
                            <i class="fa fa-tree"></i>
                            青出于蓝
                        </a>
                    </li>
                </ul>
            </li>
        </ul>
    </nav>
</header>

<div class="bjui-leftside" id="bjui-leftside">
    <div id="bjui-sidebar-s">
        <div class="collapse">
            <div class="toggleCollapse">
                <div title="展开菜单">
                    <i class="fa fa-angle-double-right"></i>
                </div>
            </div>
        </div>
    </div>
    <div id="bjui-sidebar">
        <div class="toggleCollapse">
            <h2>主菜单</h2>
            <div title="收缩菜单">
                <i class="fa fa-angle-double-left"></i>
            </div>
        </div>
        <div class="panel-group panel-main" data-toggle="accordion" id="bjui-accordionmenu" data-heightbox="#bjui-sidebar" data-offsety="26">

            <php>$cate=M('menu')->where('level=0')->order('sort')->select();</php>
            <foreach name="cate" item="c">
                <if condition="authcheck('Home/'.$c[alink],session('uid'))">
                    <if condition="$c.sort EQ 0 ">
                        <div class="panel panel-default">
                            <div class="panel-heading panelContent">
                                <h4 class="panel-title">
                                    <a data-toggle="collapse" data-parent="#bjui-accordionmenu" href="#bjui-collapse{$c.sort}" class="active">
                                        <i class="fa fa-caret-square-o-down"></i>
                                        &nbsp;{$c.catename}
                                    </a>
                                </h4>
                            </div>
                            <div id="bjui-collapse{$c.sort}" class="panel-collapse panelContent collapse in">
                                <div class="panel-body" >
                                    <ul id="bjui-tree{$c.id}" class="ztree ztree_main" data-toggle="ztree" data-on-click="MainMenuClick" data-expand-all="true">
                                        <else/>
                                        <div class="panel panel-default">
                                            <div class="panel-heading panelContent">
                                                <h4 class="panel-title">
                                                    <a data-toggle="collapse" data-parent="#bjui-accordionmenu" href="#bjui-collapse{$c.sort}" class="" >
                                                        <i class="fa fa-caret-square-o-right"></i>
                                                        &nbsp;{$c.catename}
                                                    </a>
                                                </h4>
                                            </div>
                                            <div id="bjui-collapse{$c.sort}" class="panel-collapse panelContent collapse">
                                                <div class="panel-body">
                                                    <ul id="bjui-tree{$c.id}" class="ztree ztree_main" data-toggle="ztree" data-on-click="MainMenuClick" data-expand-all="false"></if>
                                                    <php>
                                                        $cate1=M('menu')->where('level=1 and pid='.$c['id'])->order('sort')->select();
                                                    </php>
                                                    <foreach name="cate1" item="v">
                                                        <if condition="authcheck('Home/'.$v[alink],session('uid'))">
                                                            <php>
                                                                $count1=M('menu')->where('level=2 and pid='.$v['id'])->count(id);
                                                            </php>
                                                            <if condition="$count1 EQ 0 ">
                                                                <li data-id="{$v.id}" data-pid="{$c.id}" data-url="index.php/home/{$v.alink}" data-tabid="{$v.alink}">{$v.catename}</li>
                                                                <else/>
                                                                <li data-id="{$v.id}" data-pid="{$c.id}" >{$v.catename}</li>
                                                            </if>
                                                            <php>
                                                                $cate2=M('menu')->where('level=2 and pid='.$v['id'])->order('sort')->select();
                                                            </php>
                                                            <foreach name="cate2" item="vv">
                                                                <if condition="authcheck('Home/'.$vv[alink],session('uid'))">
                                                                    <li data-id="{$vv.id}" data-pid="{$v.id}" data-url="index.php/home/{$vv.alink}" data-tabid="{$vv.alink}">{$vv.catename}</li>
                                                                </if>
                                                            </foreach>
                                                        </if>
                                                    </foreach>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="panelFooter">
                                            <div class="panelFooterContent"></div>
                                        </div>
                                    </div>

                                </if>
                            </foreach>

                        </div>
                    </div>
                </div>
                <div id="bjui-container">
                    <div id="bjui-navtab" class="tabsPage">
                        <div class="tabsPageHeader">
                            <div class="tabsPageHeaderContent">
                                <ul class="navtab-tab nav nav-tabs">
                                    <li data-tabid="main" class="main active">
                                        <a href="javascript:;">
                                            <span>
                                                <i class="fa fa-home"></i>
                                                #maintab#
                                            </span>
                                        </a>
                                    </li>
                                </ul>
                            </div>
                            <div class="tabsLeft">
                                <i class="fa fa-angle-double-left"></i>
                            </div>
                            <div class="tabsRight">
                                <i class="fa fa-angle-double-right"></i>
                            </div>
                            <div class="tabsMore">
                                <i class="fa fa-angle-double-down"></i>
                            </div>
                        </div>
                        <ul class="tabsMoreList">
                            <li>
                                <a href="javascript:;">#maintab#</a>
                            </li>
                        </ul>
                        <div class="navtab-panel tabsPageContent layoutBox">
                            <div class="page unitBox">
                                <div class="bjui-pageHeader" style="background:#FFF;">
                                    <div style="padding: 0 15px;">
                                        <h4 style="margin-bottom:20px;">
                                            {$Think.config.WEB_SITE_TITLE}
                                            <small>为商家而生！</small>
                                        </h4>
                                        <!-- <div style="float:left; width:157px;">
                                            <div class="alert alert-info" role="alert" style="margin:0 0 5px; padding:10px;">
                                                <img src="__PUBLIC__/images/weixin.png" width="135"></div>
                                        </div> -->
                                        <!-- <div style="margin-top:22px; padding-left:6px;">
                                            <span style="padding-left:10px;"></span>
                                            <a href="http:/" target="_blank">http:/</a>
                                            QQ群交流：
                                        </div> -->
                                        <div class="row" style="margin-top:10px;">

                                                <div class="col-md-12" style="padding:5px;">
                                                    <div class="alert alert-success" role="alert" style="margin:0 0 5px; padding:5px 15px; height: 62px;">
                                                      <span <php>echo display(Cust.'/add');</php>
                                                                    margin-right:20px;">
                                                    
                                                        <a href="/index.php/Home/Cust/add/navTabId/Cust" class="button button-3d button-action button-pill" data-toggle="dialog" data-width="900" data-height="500" data-id="dialog-mask" data-mask="true" data-icon="plus">添加会员</a>
                                                        <a href="index.php/home/cust/index" class="button button-3d button-primary button-pill" data-toggle="dialog" data-width="1200" data-height="400" data-id="dialog-mask" data-mask="true" data-icon="plus">会员管理</a>
                                                        <a href="index.php/home/proout/index" class="button button-3d button-highlight button-pill" data-toggle="dialog" data-width="1200" data-height="400"data-id="dialog-mask" data-mask="true" data-icon="plus">销售管理</a>
                                                        <a href="index.php/home/stock/index" class="button button-3d button-caution button-pill" data-toggle="dialog" data-width="1200" data-height="400" data-id="dialog-mask" data-mask="true" data-icon="plus">库存管理</a>
                                                       <!--  <a href="http://www.bootcss.com/" class="button button-3d button-royal button-pill">资金统计</a> -->
                                                    </div>
                                                </div>

                                        </div>
                                    </div>
                                </div>
                                <div class="bjui-pageFormContent" data-layout-h="150">
                                    <!--//-->
                                    <div class="col-md-6">
                                        <div class="panel panel-default">
                                            <div class="panel-heading">
                                                <h3 class="panel-title">
                                                    <i class="fa fa-user-md"></i>
                                                    采购记录
                                                    <a href="{:U('proin/index')}" data-toggle="navtab" data-id="{:U('proin/index')}" data-title="采购记录">详细</a>
                                                </h3>
                                            </div>
                                            <div style="min-height:185px">
                                                <table class="table table-bordered table-striped table-hover">
                                                    <thead>
                                                        <tr>
                                                            <th height=30>采购时间</th>
                                                            <th>产品名称</th>
                                                            <th>产品规格</th>
                                                            <th>经手人</th>
                                                            <th>采购数量</th>
                                                            <th>单价</th>
                                                            <th>采购总价</th>
                                                        </tr>
                                                    </thead>
                                                    <tbody>
                                                        <php>$list=M('proin')->order("id desc")->limit(5)->select();</php>
                                                        <volist id="v" name="list">
                                                            <tr>
                                                                <td>{$v.addtime|substr=###,0,10}</td>
                                                                <td>{$v.jpname|substr=###,0,10}</td>
                                                                <td>{$v.jpguige|msubstr=###,0,20}</td>
                                                                <td>{$v.uname|msubstr=###,0,20}</td>
                                                                <td>{$v.shuliang|msubstr=###,0,20}</td>
                                                                <td>{$v.jpjiage|msubstr=###,0,20}</td>
                                                                <td>{$v['shuliang']*$v['jpjiage']}</td>
                                                            </tr>
                                                        </volist>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                                    <!--//-->
                                    <!--//-->
                                    <div class="col-md-6">
                                        <div class="panel panel-default">
                                            <div class="panel-heading">
                                                <h3 class="panel-title">
                                                    <i class="fa fa-pencil-square-o"></i>
                                                    销售记录
                                                    <a href="{:U('proout/index')}" data-toggle="navtab" data-id="{:U('proout/index')}" data-title="销售记录">详细</a>
                                                </h3>
                                            </div>
                                            <div style="min-height:185px">
                                                <table class="table table-bordered table-striped table-hover">
                                                    <thead>
                                                        <tr>
                                                            <th height=30>销售时间</th>
                                                            <th>产品名称</th>
                                                            <th>产品规格</th>
                                                            <th>经手人</th>
                                                            <th>销售数量</th>
                                                            <th>单价</th>
                                                            <th>销售总价</th>
                                                        </tr>
                                                    </thead>
                                                    <tbody>
                                                        <php>
                                                            $list=M('proout')->order("id desc")->limit(5)->select();
                                                        </php>
                                                        <volist id="v" name="list">
                                                            <tr>
                                                                <td>{$v.addtime|substr=###,0,10}</td>
                                                                <td>{$v.jpname|substr=###,0,10}</td>
                                                                <td>{$v.jpguige|msubstr=###,0,20}</td>
                                                                <td>{$v.uname}</td>
                                                                <td>{$v.shuliang|msubstr=###,0,20}</td>
                                                                <td>{$v.jpjiage}</td>                                                               
                                                                <td>{$v['shuliang']*$v['jpjiage']}</td>
                                                            </tr>
                                                        </volist>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>
                                    </div>
                 
                                  <!--   <div class="col-md-6">
                                        <div class="panel panel-default">
                                            <div class="panel-heading">
                                                <h3 class="panel-title">
                                                    <i class="fa fa-volume-up"></i>
                                                    通知公告
                                                    <a href="{:U('myinfo/index')}" data-toggle="navtab" data-id="{:U('mymail/index')}" data-title="通知公告">详细</a>
                                                </h3>
                                            </div>
                                            <div style="min-height:185px">
                                                <table class="table table-bordered table-striped table-hover">
                                                    <thead>
                                                        <tr>
                                                            <th height=30>通知标题</th>
                                                            <th>截止日期</th>
                                                            <th>发布人</th>
                                                            <th>发布时间</th>
                                                        </tr>
                                                    </thead>
                                                    <tbody>
                                                        <php>
                                                            $list=M('info')->where(array('juid'=>array('like','%'.session(uid).'%')))->order("id desc")->limit(5)->select();
                                                        </php>
                                                        <volist id="v" name="list">
                                                            <tr>
                                                                <td>{$v.title|msubstr=###,0,20}</td>
                                                                <td>{$v.jzrq|substr=###,0,10}</td>
                                                                <td>{$v.uname}</td>
                                                                <td>{$v.addtime|substr=###,0,10}</td>
                                                            </tr>
                                                        </volist>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>
                                    </div> -->

                               <!--      <div class="col-md-6">
                                        <div class="panel panel-default">
                                            <div class="panel-heading">
                                                <h3 class="panel-title">
                                                    <i class="fa fa-phone-square"></i>
                                                    客户跟踪
                                                    <a href="{:U('cust/daoqi')}" data-toggle="navtab" data-id="{:U('cust/daoqi')}" data-title="客户跟踪">详细</a>
                                                </h3>
                                            </div>
                                            <div style="min-height:185px">
                                                <table class="table table-bordered table-striped table-hover">
                                                    <thead>
                                                        <tr>
                                                            <th height=30>客户名称</th>
                                                            <th>进展</th>
                                                            <th>联系人</th>
                                                            <th>手机号码</th>
                                                            <th>下次联系</th>
                                                            <th>最后更新</th>
                                                        </tr>
                                                    </thead>
                                                    <tbody>
                                                        <php>
                                                            $list=M('cust')->order('updatetime desc')->limit(5)->select();
                                                        </php>
                                                        <volist id="v" name="list">
                                                            <tr>
                                                                <td>{$v.title|msubstr=###,0,20}</td>
                                                                <td>{$v.fenlei}</td>
                                                                <td>{$v.xming}</td>
                                                                <td>{$v.phone}</td>
                                                                <td>{$v.xcrq|substr=###,0,10}</td>
                                                                <td>{$v.updatetime|substr=###,0,10}</td>
                                                            </tr>
                                                        </volist>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>
                                    </div> -->
                                    <!--//--> </div>
                            </div>
                        </div>
                    </div>
                </div>
                <footer id="bjui-footer" style="text-align:left">
                    您好！{$Think.session.depname} {$Think.session.posname} {$Think.session.truename} ({$Think.session.username}) 您的IP:{$Think.session.loginip}   登录时间:{$Think.session.logintime}
                    <span style="float:right">
                        Power by
                        <a href="http://www.seemine.cn" target=_blank>成都思铭致远科技有限公司</a>
                        服务热线：(028)82685343
                    </span>
                    <div style="display:none">
                        <!-- 访问统计代码 -->
                    </div>
                </footer>
</body>
            </html>